-- GENERATED SPELL FOR [Wrathscale Shorestalker] --


function spell0_17331(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(11976,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17331', 589, 1)
end

function Sorts_17331(pUnit, Event)
local choix_sorts_17331 = math.random(0, 0)
if choix_sorts_17331 == 0 then
pUnit:RegisterEvent('spell0_17331', 1, 1)
end
end

function mob17331_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17331', math.random(1500, 3000), 1)
end

function mob17331_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17331_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17331_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17331, 1, 'mob17331_Action')
RegisterUnitEvent(17331, 2, 'mob17331_Leave')
RegisterUnitEvent(17331, 3, 'mob17331_Kill')
RegisterUnitEvent(17331, 4, 'mob17331_Die')
